package com.sc.VenusQueryBeta.contract.hotel.tabs;

import com.hengjun.kingstar.sdk.base.BasePresenter;
import com.hengjun.kingstar.sdk.base.IBaseModel;
import com.hengjun.kingstar.sdk.base.IBaseView;
import com.sc.VenusQueryBeta.model.bean.home.OverSeasBean;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2018/11/9.
 */

public interface OverSeaContract {
    abstract class OverSeaPresenter extends BasePresenter<IOverSeaModel, IOverSeaView> {
        /**
         * 獲取房型價格數據
         */
        public abstract void getOversea(int vipClubId);
    }

    interface IOverSeaModel extends IBaseModel {
        /**
         * 獲取code類型
         *
         * @param vipClubId
         * @return
         */
        Observable<OverSeasBean> getoversea(int vipClubId);
    }

    interface IOverSeaView extends IBaseView {
        /**
         * 显示banner数据
         *
         * @param overSeasBean'
         */
        void showOverseaDataSuccess(OverSeasBean overSeasBean);

        /**
         * 显示网络错误
         */
        void showNetworkError();
    }
}
